package com.hyh.shiyanshiguanli.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author hyh
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Instrument {

    private Integer id;

    private String name;

    private Integer num;

    private String model;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private LocalDateTime buyDate;

    private String other;

    private String factory;
}
